<%--
  Created by IntelliJ IDEA.
  User: jjy
  Date: 2019/3/6
  Time: 14:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- 顶部导航条 -->
<nav class="main-header navbar navbar-expand bg-white navbar-light border-bottom">
    <!-- Left navbar links -->
    <ul class="navbar-nav">
        <li class="nav-item">
            <a class="nav-link" data-widget="pushmenu" href="#"><i class="fa fa-bars"></i></a>
        </li>
        <li class="nav-item d-none d-sm-inline-block">
            <a href="#" class="nav-link">首页</a>
        </li>
    </ul>

    <!-- 顶部搜索框 -->
    <form class="form-inline ml-3">
        <div class="input-group input-group-sm">
            <input class="form-control form-control-navbar" type="search" placeholder="站内搜索" aria-label="Search">
            <div class="input-group-append">
                <button class="btn btn-navbar">
                    <i class="fa fa-search"></i>
                </button>
            </div>
        </div>
    </form>

    <%-- audio插件测试--%>
    <div style="margin-left:50px;">
        <%--<audio src="${pageContext.request.contextPath}/statics/music/ILovePoland.mp3" preload="auto"></audio>--%>
        <%--<audio src="${pageContext.request.contextPath}/statics/music/ILovePoland.mp3" preload="none"></audio>--%>
        <%--<audio src="${pageContext.request.contextPath}/statics/music/ILovePoland.mp3" autoplay></audio>--%>
        <audio src="${pageContext.request.contextPath}/statics/music/2.mp3" loop></audio>
    </div>

    <!-- 顶部右侧通知 -->
    <ul class="navbar-nav ml-auto">
        <!-- Messages Dropdown Menu -->
        <li class="nav-item dropdown">
            <a class="nav-link" data-toggle="dropdown" href="#">
                <i class="fa fa-comments-o"></i>
                <span class="badge badge-danger navbar-badge">99</span>
            </a>
            <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
                <a href="#" class="dropdown-item">
                    <!-- 消息开始 -->
                    <div class="media">
                        <img src="${pageContext.request.contextPath}/statics/dist/img/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle">
                        <div class="media-body">
                            <h3 class="dropdown-item-title">
                                阿金哥
                                <!-- text-muted  text-danger  text-warning -->
                                <span class="float-right text-sm text-danger"><i class="fa fa-star"></i></span>
                            </h3>
                            <p class="text-sm">有空回我一下</p>
                            <p class="text-sm text-muted"><i class="fa fa-clock-o mr-1"></i>4小时之前</p>
                        </div>
                    </div>
                    <!-- 消息结束 -->
                </a>
                <!-- 这就是个分割线的效果 -->
                <div class="dropdown-divider"></div>
                <a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
            </div>
        </li>

        <!-- 通知下拉菜单 -->
        <li class="nav-item dropdown">
            <a class="nav-link" data-toggle="dropdown" href="#">
                <i class="fa fa-bell-o"></i>
                <span class="badge badge-warning navbar-badge">15</span>
            </a>
            <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
                <span class="dropdown-item dropdown-header">15条通知</span>
                <div class="dropdown-divider"></div>
                <a href="#" class="dropdown-item">
                    <i class="fa fa-envelope mr-2"></i> 4个新信息
                    <span class="float-right text-muted text-sm">3分钟前</span>
                </a>
                <div class="dropdown-divider"></div>
                <a href="#" class="dropdown-item dropdown-footer">查看所有的通知</a>
            </div>
        </li>

        <li class="nav-item">
            <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#"><i class="fa fa-th-large">更换样式</i></a>
        </li>

    </ul>

</nav>
